app(id, x) → x
app(add, 0) → id
app(app(add, app(s, x)), y) → app(s, app(app(add, x), y))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
↳ QTRS
↳ Overlay + Local Confluence
app(id, x) → x
app(add, 0) → id
app(app(add, app(s, x)), y) → app(s, app(app(add, x), y))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
app(id, x) → x
app(add, 0) → id
app(app(add, app(s, x)), y) → app(s, app(app(add, x), y))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(id, x0)
app(add, 0)
app(app(add, app(s, x0)), x1)
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
APP(app(add, app(s, x)), y) → APP(app(add, x), y)
APP(app(add, app(s, x)), y) → APP(add, x)
APP(app(add, app(s, x)), y) → APP(s, app(app(add, x), y))
APP(app(map, f), app(app(cons, x), xs)) → APP(cons, app(f, x))
APP(app(map, f), app(app(cons, x), xs)) → APP(f, x)
APP(app(map, f), app(app(cons, x), xs)) → APP(app(map, f), xs)
APP(app(map, f), app(app(cons, x), xs)) → APP(app(cons, app(f, x)), app(app(map, f), xs))
app(id, x) → x
app(add, 0) → id
app(app(add, app(s, x)), y) → app(s, app(app(add, x), y))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(id, x0)
app(add, 0)
app(app(add, app(s, x0)), x1)
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
APP(app(add, app(s, x)), y) → APP(app(add, x), y)
APP(app(add, app(s, x)), y) → APP(add, x)
APP(app(add, app(s, x)), y) → APP(s, app(app(add, x), y))
APP(app(map, f), app(app(cons, x), xs)) → APP(cons, app(f, x))
APP(app(map, f), app(app(cons, x), xs)) → APP(f, x)
APP(app(map, f), app(app(cons, x), xs)) → APP(app(map, f), xs)
APP(app(map, f), app(app(cons, x), xs)) → APP(app(cons, app(f, x)), app(app(map, f), xs))
app(id, x) → x
app(add, 0) → id
app(app(add, app(s, x)), y) → app(s, app(app(add, x), y))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(id, x0)
app(add, 0)
app(app(add, app(s, x0)), x1)
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
APP(app(add, app(s, x)), y) → APP(app(add, x), y)
app(id, x) → x
app(add, 0) → id
app(app(add, app(s, x)), y) → app(s, app(app(add, x), y))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(id, x0)
app(add, 0)
app(app(add, app(s, x0)), x1)
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
APP(app(add, app(s, x)), y) → APP(app(add, x), y)
app(add, 0) → id
app(id, x0)
app(add, 0)
app(app(add, app(s, x0)), x1)
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
The following rules are removed from R:
APP(app(add, app(s, x)), y) → APP(app(add, x), y)
Used ordering: POLO with Polynomial interpretation [25]:
app(add, 0) → id
POL(0) = 0
POL(APP(x1, x2)) = 2·x1 + x2
POL(add) = 0
POL(app(x1, x2)) = x1 + 2·x2
POL(id) = 0
POL(s) = 0
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ PisEmptyProof
↳ QDP
app(id, x0)
app(add, 0)
app(app(add, app(s, x0)), x1)
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
APP(app(map, f), app(app(cons, x), xs)) → APP(f, x)
APP(app(map, f), app(app(cons, x), xs)) → APP(app(map, f), xs)
app(id, x) → x
app(add, 0) → id
app(app(add, app(s, x)), y) → app(s, app(app(add, x), y))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(id, x0)
app(add, 0)
app(app(add, app(s, x0)), x1)
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
APP(app(map, f), app(app(cons, x), xs)) → APP(f, x)
APP(app(map, f), app(app(cons, x), xs)) → APP(app(map, f), xs)
app(id, x0)
app(add, 0)
app(app(add, app(s, x0)), x1)
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
From the DPs we obtained the following set of size-change graphs: